import request from '@/utils/request'

export function projectList(page) {
  return request({
    url: '/project/list',
    method: 'get',
    params: page
  })
}

export function projectAll() {
  return request({
    url: '/project/all',
    method: 'get'
  })
}

export function projectSearch(page) {
  return request({
    url: '/project/search',
    method: 'get',
    params: page
  })
}

export function projectAdd(form) {
  return request({
    url: '/project/add',
    method: 'get',
    params: form
  })
}

export function projectDelete(form) {
  return request({
    url: '/project/delete',
    method: 'get',
    params: form
  })
}

export function projectEdit(form) {
  return request({
    url: '/project/edit',
    method: 'get',
    params: form
  })
}

